import numpy as np
a = np.linspace(1,10,20)
print("数组为：",a)
b = a.reshape(2,10)
print("矩阵为：",b)
c = np.sum(b,axis=1)
print("每行的和：",c)